<template>
  <div id="Scan">
    <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
      <el-tab-pane label="基本病历" name="first" class="scan"
        ><PatientContent></PatientContent
      ></el-tab-pane>
      <el-tab-pane label="就诊记录" name="second" class="scan"
        ><Visitrecords></Visitrecords
      ></el-tab-pane>
      <el-tab-pane label="发作次数记录" name="third" class="scan"
        ><FaZuoCiShu></FaZuoCiShu
      ></el-tab-pane>
      <el-tab-pane label="症状记录" name="fourth" class="scan"
        ><ZhengZhuangJiLu></ZhengZhuangJiLu
      ></el-tab-pane>
      <el-tab-pane label="病情日记" name="fifth" class="scan"
        ><IllnessLog></IllnessLog
      ></el-tab-pane>
    </el-tabs>
  </div>
</template>

 


<script>
import PatientContent from "../patient/PatientContent.vue";
import Visitrecords from "../patient/Visitrecords.vue";
import FaZuoCiShu from "../fazuocishu.vue";
import ZhengZhuangJiLu from "../Zhengzhuangjilu.vue";
import IllnessLog from "../Check the patient/IllnessLog.vue";
export default {
  name: "Scan",
  components: {
    PatientContent,
    Visitrecords,
    FaZuoCiShu,
    ZhengZhuangJiLu,
    IllnessLog,
  },
  data() {
    return {
      activeName: "first",
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>

<style lang='less' scoped>
</style>